package com.pro.service;

import com.pro.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserListService {
    //查询所有用户
    public List<BeforeUser> queryBeforeUser(BeforeUser beforeUser);
    //修改用户账号状态
    public Boolean updateStudyDate(Integer study,Integer id);
    //添加封停信息
    public Boolean addClosure(Closure closure);
    //修改用户信息
    public Boolean updateBeforeUser(BeforeUser beforeUser);
    //添加用户
    public Boolean addBeforeUser(BeforeUserPlus beforeUserPlus);
    //查询优惠券
    public List<UserCoupon> queryCoupons();
    //赠送优惠券
    public Boolean addUserCouponUsed(Integer couponId,Integer[] obj);
    //查询所有进思用户
    public List<CourseOrderPlus> queryJinSiBeforeUser(BeforeUserPlus beforeUser);
    //查询所有非进思用户
    public List<BeforeUser> queryWrongJinSiBeforeUser(BeforeUserPlus beforeUser);
    //查询前台封停用户信息
    public List<ClosurePlus> queryUserLockoutList(ClosurePlus closurePlus);
    //解封
    public Boolean unseal(Integer id,Integer userId,Integer createdId);
    //前端用户解封日志
    public List<UnsealPlus> queryUnseal(UnsealPlus unsealPlus);
    //删除用户解封日志
    public Boolean delUnseal(Integer id);
    //获取解封时间
    public List<ClosurePlus> getUnsealingTime();
}
